package com.jn.moduledemo.common.permission;

import android.app.Activity;

import androidx.core.app.ActivityCompat;

public class PermissionHelper {
    private Activity activity;

    public PermissionHelper(Activity activity) {
        this.activity = activity;
    }

    public void requestPermission(String[] permission, int requestCode) {
        ActivityCompat.requestPermissions(activity, permission, requestCode);
    }
}
